<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>GrPPI: pipeline_pattern.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GrPPI
   &#160;<span id="projectnumber">0.3.1</span>
   </div>
   <div id="projectbrief">Generic and Reusable Parallel Pattern Interface</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0966d06610f72609fd9aa4979c2b5a92.html">common</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">pipeline_pattern.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="pipeline__pattern_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#ifndef GRPPI_COMMON_PIPELINE_PATTERN_H</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#define GRPPI_COMMON_PIPELINE_PATTERN_H</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;type_traits&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegrppi.html">grppi</a> {</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ... Transformers&gt;</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classgrppi_1_1pipeline__t.html">   34</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgrppi_1_1pipeline__t.html">pipeline_t</a> {</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classgrppi_1_1pipeline__t.html#ab6a687dc86cbb5ec289eefc325cfff35">   37</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classgrppi_1_1pipeline__t.html#ab6a687dc86cbb5ec289eefc325cfff35">transformers_type</a> = std::tuple&lt;Transformers...&gt;;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classgrppi_1_1pipeline__t.html#ab05c306b04d1e5ac20f2b636c6705e98">   44</a></span>&#160;  <a class="code" href="classgrppi_1_1pipeline__t.html#ab05c306b04d1e5ac20f2b636c6705e98">pipeline_t</a>(Transformers &amp;&amp; ... others) noexcept :</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    transformers_{others...}</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  {}</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="keyword">template</span> &lt;std::size_t index, <span class="keyword">typename</span> T, <span class="keyword">typename</span> std::enable_if&lt; index == (<span class="keyword">sizeof</span>...(Transformers) -1) ,<span class="keywordtype">int</span>&gt;::type = 0 &gt;</div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="classgrppi_1_1pipeline__t.html#a2252946531769551c9dcaabde7830ec0">   51</a></span>&#160;  <span class="keyword">auto</span> <a class="code" href="classgrppi_1_1pipeline__t.html#a2252946531769551c9dcaabde7830ec0">invoke_all</a>(T item)<span class="keyword"> const</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;      <span class="keywordflow">return</span> invoke&lt;index&gt;(item);</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;  }</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <span class="keyword">template</span> &lt;std::size_t index, <span class="keyword">typename</span> T, <span class="keyword">typename</span> std::enable_if&lt; index != (<span class="keyword">sizeof</span>...(Transformers) -1) ,<span class="keywordtype">int</span>&gt;::type = 0 &gt;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classgrppi_1_1pipeline__t.html#a2252946531769551c9dcaabde7830ec0">   57</a></span>&#160;  <span class="keyword">auto</span> <a class="code" href="classgrppi_1_1pipeline__t.html#a2252946531769551c9dcaabde7830ec0">invoke_all</a>(T item)<span class="keyword"> const</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;      <span class="keywordflow">return</span> invoke_all&lt;index+1&gt;(invoke&lt;index&gt;(item));</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  }</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160; </div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  <span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classgrppi_1_1pipeline__t.html#a0ff41f0ec9aa75f6b7793394fe002024">   63</a></span>&#160;  <span class="keyword">auto</span> <a class="code" href="classgrppi_1_1pipeline__t.html#a0ff41f0ec9aa75f6b7793394fe002024">operator()</a>(T item)<span class="keyword"> const</span>{</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordflow">return</span> invoke_all&lt;0&gt;(item);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  }</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <span class="keyword">template</span> &lt;std::<span class="keywordtype">size_t</span> I, <span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classgrppi_1_1pipeline__t.html#a3e3ffc4a29d72156be45543d91d7ac2d">   72</a></span>&#160;  <span class="keyword">auto</span> <a class="code" href="classgrppi_1_1pipeline__t.html#a3e3ffc4a29d72156be45543d91d7ac2d">invoke</a>(T &amp;&amp; item)<span class="keyword"> const </span>{</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keyword">auto</span> f = std::get&lt;I&gt;(transformers_);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keywordflow">return</span> f(std::forward&lt;T&gt;(item));</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  }</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  <span class="keyword">template</span> &lt;std::<span class="keywordtype">size_t</span> I&gt;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classgrppi_1_1pipeline__t.html#a6cf08ebb443b5cd39278de1ff88c2ccc">   83</a></span>&#160;  <span class="keyword">auto</span> <a class="code" href="classgrppi_1_1pipeline__t.html#a6cf08ebb443b5cd39278de1ff88c2ccc">stage</a>() const noexcept {</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    static_assert(I&lt;<span class="keyword">sizeof</span>...(Transformers),</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;      <span class="stringliteral">&quot;Pipeline has not so many transformers&quot;</span>);</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keywordflow">return</span> std::get&lt;I&gt;(transformers_);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  }</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classgrppi_1_1pipeline__t.html#a62003fb555e83aa045271adf3b7242bd">   89</a></span>&#160;  <span class="keyword">auto</span> <a class="code" href="classgrppi_1_1pipeline__t.html#a62003fb555e83aa045271adf3b7242bd">transformers</a>() const noexcept {</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;    <span class="keywordflow">return</span> transformers_;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  }</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  std::tuple&lt;Transformers...&gt; transformers_;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;};</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<span class="keyword">namespace </span>internal {</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<span class="keyword">template</span>&lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="structgrppi_1_1internal_1_1is__pipeline.html">  100</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structgrppi_1_1internal_1_1is__pipeline.html">is_pipeline</a> : std::false_type {};</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> ... T&gt;</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="structgrppi_1_1internal_1_1is__pipeline_3_01pipeline__t_3_01_t_8_8_8_01_4_01_4.html">  103</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structgrppi_1_1internal_1_1is__pipeline.html">is_pipeline</a>&lt;<a class="code" href="classgrppi_1_1pipeline__t.html">pipeline_t</a>&lt;T...&gt;&gt; :std::true_type {};</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;} <span class="comment">// namespace internal</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="namespacegrppi.html#af507e25fcb4d10f45c1d717d06c0bd79">  108</a></span>&#160;<span class="keyword">static</span> constexpr <span class="keywordtype">bool</span> <a class="code" href="namespacegrppi.html#af507e25fcb4d10f45c1d717d06c0bd79">is_pipeline</a> = <a class="code" href="structgrppi_1_1internal_1_1is__pipeline.html">internal::is_pipeline&lt;std::decay_t&lt;T&gt;</a>&gt;();</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="namespacegrppi.html#a1c6e71cb617cee8d3216b1710891a349">  111</a></span>&#160;<span class="keyword">using</span> <a class="code" href="namespacegrppi.html#a1c6e71cb617cee8d3216b1710891a349">requires_pipeline</a> = <span class="keyword">typename</span> std::enable_if_t&lt;is_pipeline&lt;T&gt;, <span class="keywordtype">int</span>&gt;;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="keyword">namespace </span>internal {</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> I, <span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="structgrppi_1_1internal_1_1output__value__type.html">  116</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structgrppi_1_1internal_1_1output__value__type.html">output_value_type</a> {</div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structgrppi_1_1internal_1_1output__value__type.html#ad3d485e92ba46fba8ffc8eea10aee2e4">  117</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structgrppi_1_1internal_1_1output__value__type.html#ad3d485e92ba46fba8ffc8eea10aee2e4">type</a> = std::decay_t&lt;typename std::result_of&lt;T(I)&gt;::type&gt;;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;};</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> I, <span class="keyword">typename</span> T, <span class="keyword">typename</span> ... U&gt;</div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="structgrppi_1_1internal_1_1output__value__type_3_01_i_00_01pipeline__t_3_01_t_00_01_u_8_8_8_01_4_01_4.html">  121</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structgrppi_1_1internal_1_1output__value__type.html">output_value_type</a>&lt;I,<a class="code" href="classgrppi_1_1pipeline__t.html">pipeline_t</a>&lt;T,U...&gt;&gt; {</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structgrppi_1_1internal_1_1output__value__type_3_01_i_00_01pipeline__t_3_01_t_00_01_u_8_8_8_01_4_01_4.html#a4bcdf45af54a770db6920d0f5c46fc6a">  122</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="structgrppi_1_1internal_1_1output__value__type_3_01_i_00_01pipeline__t_3_01_t_00_01_u_8_8_8_01_4_01_4.html#a4bcdf45af54a770db6920d0f5c46fc6a">first_result</a> = std::decay_t&lt;typename std::result_of&lt;T(I)&gt;::type&gt;;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  <span class="keyword">using</span> <a class="code" href="structgrppi_1_1internal_1_1output__value__type_3_01_i_00_01pipeline__t_3_01_t_00_01_u_8_8_8_01_4_01_4.html#acfc4e21233c97189a76eb6df9f766db5">type</a> = std::conditional_t&lt;<span class="keyword">sizeof</span>...(U)==0,</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <a class="code" href="structgrppi_1_1internal_1_1output__value__type_3_01_i_00_01pipeline__t_3_01_t_00_01_u_8_8_8_01_4_01_4.html#a4bcdf45af54a770db6920d0f5c46fc6a">first_result</a>,</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="keyword">typename</span> <a class="code" href="structgrppi_1_1internal_1_1output__value__type.html">output_value_type&lt;first_result,U...&gt;::type</a></div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="structgrppi_1_1internal_1_1output__value__type_3_01_i_00_01pipeline__t_3_01_t_00_01_u_8_8_8_01_4_01_4.html#acfc4e21233c97189a76eb6df9f766db5">  126</a></span>&#160;  &gt;;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;};</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;}</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> I, <span class="keyword">typename</span> T&gt;</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="namespacegrppi.html#a2c33363c4c49ab510560a0b880d52bfc">  132</a></span>&#160;<span class="keyword">using</span> <a class="code" href="namespacegrppi.html#a2c33363c4c49ab510560a0b880d52bfc">output_value_type</a> = <span class="keyword">typename</span> <a class="code" href="structgrppi_1_1internal_1_1output__value__type.html">internal::output_value_type&lt;I,T&gt;::type</a>;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;}</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="namespacegrppi_html"><div class="ttname"><a href="namespacegrppi.html">grppi</a></div><div class="ttdef"><b>Definition:</b> callable_traits.h:26</div></div>
<div class="ttc" id="classgrppi_1_1pipeline__t_html_a3e3ffc4a29d72156be45543d91d7ac2d"><div class="ttname"><a href="classgrppi_1_1pipeline__t.html#a3e3ffc4a29d72156be45543d91d7ac2d">grppi::pipeline_t::invoke</a></div><div class="ttdeci">auto invoke(T &amp;&amp;item) const </div><div class="ttdoc">Invokes a trasnformer from the pipeline. </div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:72</div></div>
<div class="ttc" id="structgrppi_1_1internal_1_1output__value__type_3_01_i_00_01pipeline__t_3_01_t_00_01_u_8_8_8_01_4_01_4_html_acfc4e21233c97189a76eb6df9f766db5"><div class="ttname"><a href="structgrppi_1_1internal_1_1output__value__type_3_01_i_00_01pipeline__t_3_01_t_00_01_u_8_8_8_01_4_01_4.html#acfc4e21233c97189a76eb6df9f766db5">grppi::internal::output_value_type&lt; I, pipeline_t&lt; T, U... &gt; &gt;::type</a></div><div class="ttdeci">std::conditional_t&lt; sizeof...(U)==0, first_result, typename output_value_type&lt; first_result, U... &gt;::type &gt; type</div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:126</div></div>
<div class="ttc" id="classgrppi_1_1pipeline__t_html_ab6a687dc86cbb5ec289eefc325cfff35"><div class="ttname"><a href="classgrppi_1_1pipeline__t.html#ab6a687dc86cbb5ec289eefc325cfff35">grppi::pipeline_t::transformers_type</a></div><div class="ttdeci">std::tuple&lt; Transformers... &gt; transformers_type</div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:37</div></div>
<div class="ttc" id="classgrppi_1_1pipeline__t_html_a6cf08ebb443b5cd39278de1ff88c2ccc"><div class="ttname"><a href="classgrppi_1_1pipeline__t.html#a6cf08ebb443b5cd39278de1ff88c2ccc">grppi::pipeline_t::stage</a></div><div class="ttdeci">auto stage() const noexcept</div><div class="ttdoc">Gets a transformer from the pipeline. </div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:83</div></div>
<div class="ttc" id="classgrppi_1_1pipeline__t_html"><div class="ttname"><a href="classgrppi_1_1pipeline__t.html">grppi::pipeline_t</a></div><div class="ttdoc">Representation of pipeline pattern. Represents a pipeline with multiple chained transformers. </div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:34</div></div>
<div class="ttc" id="namespacegrppi_html_a2c33363c4c49ab510560a0b880d52bfc"><div class="ttname"><a href="namespacegrppi.html#a2c33363c4c49ab510560a0b880d52bfc">grppi::output_value_type</a></div><div class="ttdeci">typename internal::output_value_type&lt; I, T &gt;::type output_value_type</div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:132</div></div>
<div class="ttc" id="classgrppi_1_1pipeline__t_html_ab05c306b04d1e5ac20f2b636c6705e98"><div class="ttname"><a href="classgrppi_1_1pipeline__t.html#ab05c306b04d1e5ac20f2b636c6705e98">grppi::pipeline_t::pipeline_t</a></div><div class="ttdeci">pipeline_t(Transformers &amp;&amp;...others) noexcept</div><div class="ttdoc">Constructs a pipeline with several transformers. </div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:44</div></div>
<div class="ttc" id="classgrppi_1_1pipeline__t_html_a2252946531769551c9dcaabde7830ec0"><div class="ttname"><a href="classgrppi_1_1pipeline__t.html#a2252946531769551c9dcaabde7830ec0">grppi::pipeline_t::invoke_all</a></div><div class="ttdeci">auto invoke_all(T item) const </div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:51</div></div>
<div class="ttc" id="structgrppi_1_1internal_1_1is__pipeline_html"><div class="ttname"><a href="structgrppi_1_1internal_1_1is__pipeline.html">grppi::internal::is_pipeline</a></div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:100</div></div>
<div class="ttc" id="namespacegrppi_html_af507e25fcb4d10f45c1d717d06c0bd79"><div class="ttname"><a href="namespacegrppi.html#af507e25fcb4d10f45c1d717d06c0bd79">grppi::is_pipeline</a></div><div class="ttdeci">static constexpr bool is_pipeline</div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:108</div></div>
<div class="ttc" id="namespacegrppi_html_a1c6e71cb617cee8d3216b1710891a349"><div class="ttname"><a href="namespacegrppi.html#a1c6e71cb617cee8d3216b1710891a349">grppi::requires_pipeline</a></div><div class="ttdeci">typename std::enable_if_t&lt; is_pipeline&lt; T &gt;, int &gt; requires_pipeline</div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:111</div></div>
<div class="ttc" id="structgrppi_1_1internal_1_1output__value__type_3_01_i_00_01pipeline__t_3_01_t_00_01_u_8_8_8_01_4_01_4_html_a4bcdf45af54a770db6920d0f5c46fc6a"><div class="ttname"><a href="structgrppi_1_1internal_1_1output__value__type_3_01_i_00_01pipeline__t_3_01_t_00_01_u_8_8_8_01_4_01_4.html#a4bcdf45af54a770db6920d0f5c46fc6a">grppi::internal::output_value_type&lt; I, pipeline_t&lt; T, U... &gt; &gt;::first_result</a></div><div class="ttdeci">std::decay_t&lt; typename std::result_of&lt; T(I)&gt;::type &gt; first_result</div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:122</div></div>
<div class="ttc" id="structgrppi_1_1internal_1_1output__value__type_html_ad3d485e92ba46fba8ffc8eea10aee2e4"><div class="ttname"><a href="structgrppi_1_1internal_1_1output__value__type.html#ad3d485e92ba46fba8ffc8eea10aee2e4">grppi::internal::output_value_type::type</a></div><div class="ttdeci">std::decay_t&lt; typename std::result_of&lt; T(I)&gt;::type &gt; type</div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:117</div></div>
<div class="ttc" id="classgrppi_1_1pipeline__t_html_a62003fb555e83aa045271adf3b7242bd"><div class="ttname"><a href="classgrppi_1_1pipeline__t.html#a62003fb555e83aa045271adf3b7242bd">grppi::pipeline_t::transformers</a></div><div class="ttdeci">auto transformers() const noexcept</div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:89</div></div>
<div class="ttc" id="structgrppi_1_1internal_1_1output__value__type_html"><div class="ttname"><a href="structgrppi_1_1internal_1_1output__value__type.html">grppi::internal::output_value_type</a></div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:116</div></div>
<div class="ttc" id="classgrppi_1_1pipeline__t_html_a0ff41f0ec9aa75f6b7793394fe002024"><div class="ttname"><a href="classgrppi_1_1pipeline__t.html#a0ff41f0ec9aa75f6b7793394fe002024">grppi::pipeline_t::operator()</a></div><div class="ttdeci">auto operator()(T item) const </div><div class="ttdef"><b>Definition:</b> pipeline_pattern.h:63</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
